using Backoffice.Application.Common;
using Backoffice.Domain.Entities.App;
using BackOffice.Application.DTOs;

namespace BackOffice.Application.Services
{
    public interface IArticleService
    {
        Task<ApiResult> CreateArticleAsync(CreateOrUpdateArticleDto dto);
        Task<ApiResult> UpdateArticleAsync(Guid id, CreateOrUpdateArticleDto dto);
        Task<ApiResult> DeleteArticleAsync(Guid id);
        Task<ApiResult> ChangeStatusAsync(Guid id, ArticleStatus newStatus);
        Task<ApiResult> GetArticleListAsync();
        Task<ApiResult> SearchArticlesAsync(ArticleSearchDto dto);
    }
}